Skip to content

Conversation

@rustyrussell
Copy link
Contributor

@rustyrussell rustyrussell commented Nov 11, 2025

Our build steps are not working, in the sense we are rebuilding every time.

Changelog-None: build only.

@rustyrussell rustyrussell added this to the v25.12 milestone Nov 11, 2025
@madelinevibes madelinevibes added the Status::Ready for Review The work has been completed and is now awaiting evaluation or approval. label Nov 12, 2025
@endothermicdev
Copy link
Collaborator

Will the make check-gen-updated job halt the rest of the matrix if it fails? My only nit is it could be a bit wasteful on unnecessary runs if it's running in parallel. Needs a Changelog entry to test.

Make cdump-enumstr use libccan.a, rather than explicit ccan object: it's the
last one.

And mark submodcheck phony, as it is.

Signed-off-by: Rusty Russell <[email protected]>
This means we don't have to include them in our bundle.

Signed-off-by: Rusty Russell <[email protected]>
Here are the speeds and sizes of different compressors:

gzip -1:  0m20.914s	789012066
gzip -2:  0m23.846s	775576167
gzip -3:  0m26.088s	765520181
gzip -4:  0m28.264s	748485795
gzip -5:  0m35.916s	736567221
gzip -6:  0m49.906s	730337022
gzip -7:  1m2.391s	728726884
bzip2:    1m32.191s	711695852
gzip -8:  1m51.655s	727303811
gzip -9:  2m51.123s	726946796

Uncompressing time:

bzip2:			0m43.353s
gzip -5:		0m8.318s

The downside is that this is only useful on a *freshly built* tree: it will include
everything config.vars and newer.

Signed-off-by: Rusty Russell <[email protected]>
…builds.

For CI we want to make sure we don't rebuild.  CC=false doesn't work because
we reply on the output of "$CC -dumpmachine" for the external build directory.

So we would use:

	make CC=devtools/cc-nobuild CARGO=false

Signed-off-by: Rusty Russell <[email protected]>
`make check-docs` requires a full build (to check --help information against docs).  So move
these checks to a `postbuild` CI stage.

Signed-off-by: Rusty Russell <[email protected]>
We use the same fragment everywhere for consistency, even though some
stages don't actually call make.

Signed-off-by: Rusty Russell <[email protected]>
@rustyrussell rustyrussell modified the milestones: v25.12, v26.03 Nov 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status::Ready for Review The work has been completed and is now awaiting evaluation or approval.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants